#ifndef __DEVICE_STATUS_SERVER__
#define __DEVICE_STATUS_SERVER__
#include <memory>
#include "Util/util.h"
#include "jsoncpp/json.h"
#include "Network/Buffer.h"

using namespace Fdt;
class DeviceStatusServer{
public:
    using Ptr = std::shared_ptr<DeviceStatusServer>;
    static Ptr instance();
    DeviceStatusServer();
    ~DeviceStatusServer();

    void RegistRPC();
    bool Get(const Json::Value &request, const Fdt::BufferMap::Ptr &inMap, Json::Value &response, Fdt::BufferMap::Ptr &outMap);

};


#endif